From: Andreas Schwab Date: Sun, 19 Aug 2007 00:16:20 +0000 (+0000) Subject: (pure): Round PURESIZE up. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~534^2~3^2~1781 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=f9233dc3543297332aa713dfaf65ab970e423010;p=emacs.git (pure): Round PURESIZE up. --- diff --git a/src/alloc.c b/src/alloc.c index 948b87851a7..bcec8ea4560 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -266,7 +266,7 @@ Lisp_Object Vmemory_full; remapping on more recent systems because this is less important nowadays than in the days of small memories and timesharing. */ -EMACS_INT pure[PURESIZE / sizeof (EMACS_INT)] = {1,}; +EMACS_INT pure[(PURESIZE + sizeof (EMACS_INT) - 1) / sizeof (EMACS_INT)] = {1,}; #define PUREBEG (char *) pure #else /* HAVE_SHM */